package com.rmfyzxfw.caseprocess.model.cmd;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 字段表
 * @TableName t_data_field
 */
@Data
public class DataNodeItemCmd {
    @ApiModelProperty(value ="主键")
    @NotBlank(message = "主键主键不能为空")
    private String dataNodeId;

    @NotEmpty(message = "至少一个数据项id")
    private List<@NotBlank(message = "数据项id不能为空") String> dataItemIds;
}